package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.api.content.model.vo.CourseTeacherVO;
import com.xuecheng.content.entity.CourseTeacher;

import java.util.List;

/**
 * 课程教师服务类
 */
public interface CourseTeacherService extends IService<CourseTeacher> {


    /**
     * 查询课程教师信息
     * @param courseId
     * @param companyId
     * @return
     */
    List<CourseTeacherDTO> queryCourseTeacher(Long courseId, Long companyId);



    /**
     * 创建或修该课程教师信息
     * @param courseTeacherDTO 课程信息id
     * @param companyId  机构id
     * @return
     */
    CourseTeacherDTO CreateOrModifyCourseTeacher(CourseTeacherDTO courseTeacherDTO,Long companyId);


    /**
     * 删除课程教师信息
     * @param courseBaseId
     * @param courseTeacherId
     */
    void deleteCourseTeacher(Long courseBaseId,Long courseTeacherId);

}
